-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add strings for the validateUrl and validatePostName utils. #1145
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good besides some strings
app/src/main/res/values/strings.xml
Outdated
@@ -303,7 +303,13 @@ | |||
<string name="sorttype_topweek">TopWeek</string> | |||
<string name="sorttype_topyear">TopYear</string> | |||
<string name="time_ago_ago">%1$s %2$s ago</string> | |||
<string name="title">Title</string> | |||
<string name="title_less_than_200_chars">Title cannot be > 200 chars</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Title cannot be more than 200 characters
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
app/src/main/res/values/strings.xml
Outdated
@@ -303,7 +303,13 @@ | |||
<string name="sorttype_topweek">TopWeek</string> | |||
<string name="sorttype_topyear">TopYear</string> | |||
<string name="time_ago_ago">%1$s %2$s ago</string> | |||
<string name="title">Title</string> | |||
<string name="title_less_than_200_chars">Title cannot be > 200 chars</string> | |||
<string name="title_min_3_chars">"Title must be at least 3 chars</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Title must be at least three characters
Also note the extra double quote
app/src/main/res/values/strings.xml
Outdated
<string name="topAppBar_back">Back</string> | ||
<string name="url">Url</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
URL
, also capitalize below
18ebe6e
to
15c4f33
Compare
Fixes #1129
Pulls in Mockito. I'm not sure what the feeling about doing so is.
Just wanted to be able to keep the tests while also mocking
Context
out.